import React from "react"
import { BrowserRouter as Router, Route, /*List*/ } from "react-router-dom";

import Layout from './pages/Layout'
import Login from './pages/Login'
import './App.css'
class App extends React.Component {
    render () {
        return (
            <Router>
                <div className='App'>
                    <Route path='/home' component={Layout}></Route>
                    <Route path='/login' component={Login}></Route>
                </div>
            </Router>
        )
    }
}

export default App